/**
 * Created by box on 2017/3/9.
 */
var fortuneCookie = [
    "Conquer your fears or they will conquer you.",
    "Rivers need springs.",
    "Do not fear what you don't know.",
    "You will have a pleasant surprise.",
    "Whenever possible, keep it simple.",
];

var getFortune = function () {
    var idx = Math.floor(Math.random() * fortuneCookie.length);
    return fortuneCookie[idx];
};

exports.getFortune = getFortune;
